FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.4.11  |  FHIR Version n/a  User: [n/a]

Resource StructureDefinition/FHIR Server from package hl7.fhir.uv.phr#current (79 ms)

Package hl7.fhir.uv.phr
Type StructureDefinition
Id Id
FHIR Version R4
Source http://hl7.org/fhir/uv/phr/https://build.fhir.org/ig/HL7/personal-health-record-format-ig/StructureDefinition-AppleHealthKitWorkoutSample.html
Url http://hl7.org/fhir/uv/phr/StructureDefinition/AppleHealthKitWorkoutSample
Version 1.0.0-ballot
Status draft
Date 2024-12-16T02:24:49+00:00
Name AppleHealthKitWorkoutSample
Title Apple HealthKit Workout Sample Logical Model
Experimental True
Realm uv
Authority hl7
Description Data elements for the Apple HealthKit HKWorkout.
Type http://hl7.org/fhir/uv/phr/StructureDefinition/AppleHealthKitWorkoutSample
Kind logical

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
AppleHealthKitSample Apple HealthKit Sample Logical Model
AppleHealthKitWorkoutActivity Apple HealthKit Workout Activity Logical Model
AppleHealthKitWorkoutEvent Apple HealthKit Workout Event Logical Model
http://hl7.org/fhir/uv/phr/ValueSet/apple-health-kit-workout-activity-type-value-set Apple HealthKit Workout Activity Type Value Set


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition AppleHealthKitWorkoutSample

NameFlagsCard.TypeDescription & Constraintsdoco
.. AppleHealthKitWorkoutSample 0..*AppleHealthKitSample
Elements defined in Ancestors:uuid, metadata, device, sourceRevision, startDate, endDate, hasUndeterminedDuration, sampleType
Apple HealthKit Workout Sample Logical Model
Instances of this logical model are not marked to be the target of a Reference
... duration 0..1decimalThe workout duration in number of seconds.
... workoutActivityType 0..1codeThe sample's workout activity type.
Binding: Apple HealthKit Workout Activity Type Value Set (extensible)
... workoutActivities 0..*AppleHealthKitWorkoutActivityThe sample's workout activities.
... workoutEvents 0..*AppleHealthKitWorkoutEventThe sample's workout events.

doco Documentation for this format

Source

{
  "resourceType" : "StructureDefinition",
  "id" : "AppleHealthKitWorkoutSample",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition AppleHealthKitWorkoutSample</b></p><a name=\"AppleHealthKitWorkoutSample\"> </a><a name=\"hcAppleHealthKitWorkoutSample\"> </a><a name=\"AppleHealthKitWorkoutSample-en-US\"> </a><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-AppleHealthKitWorkoutSample-definitions.html#AppleHealthKitWorkoutSample\" title=\"Data elements for the Apple HealthKit HKWorkout.\">AppleHealthKitWorkoutSample</a><a name=\"AppleHealthKitWorkoutSample\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-AppleHealthKitSample.html\">AppleHealthKitSample</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><br/>Elements defined in Ancestors:<a href=\"StructureDefinition-AppleHealthKitObject.html\" title=\"The universally unique identifier (UUID) for this HealthKit object.\">uuid</a>, <a href=\"StructureDefinition-AppleHealthKitObject.html\" title=\"The metadata for this HealthKit object.\">metadata</a>, <a href=\"StructureDefinition-AppleHealthKitObject.html\" title=\"The device that generated the data for this object.\">device</a>, <a href=\"StructureDefinition-AppleHealthKitObject.html\" title=\"The app or device that created this object.\">sourceRevision</a>, <a href=\"StructureDefinition-AppleHealthKitSample.html\" title=\"The sample's start date.\">startDate</a>, <a href=\"StructureDefinition-AppleHealthKitSample.html\" title=\"The sample's end date.\">endDate</a>, <a href=\"StructureDefinition-AppleHealthKitSample.html\" title=\"Indicates whether the sample has an unknown duration.\">hasUndeterminedDuration</a>, <a href=\"StructureDefinition-AppleHealthKitSample.html\" title=\"The sample type.\">sampleType</a><br/>Apple HealthKit Workout Sample Logical Model<br/><span style=\"font-weight:bold\">Instances of this logical model are not marked to be the target of a Reference</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-AppleHealthKitWorkoutSample-definitions.html#AppleHealthKitWorkoutSample.duration\" title=\"The workout duration in number of seconds.\">duration</a><a name=\"AppleHealthKitWorkoutSample.duration\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#decimal\">decimal</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">The workout duration in number of seconds.</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-AppleHealthKitWorkoutSample-definitions.html#AppleHealthKitWorkoutSample.workoutActivityType\" title=\"When HKSample is an HKWorkoutActivity, the corresponding workoutActivityType.\">workoutActivityType</a><a name=\"AppleHealthKitWorkoutSample.workoutActivityType\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">The sample's workout activity type.<br/><span style=\"font-weight:bold\">Binding: </span><a href=\"ValueSet-apple-health-kit-workout-activity-type-value-set.html\" title=\"http://hl7.org/fhir/uv/phr/ValueSet/apple-health-kit-workout-activity-type-value-set\">Apple HealthKit Workout Activity Type Value Set</a> (<a href=\"http://hl7.org/fhir/R4/terminologies.html#extensible\" title=\"To be conformant, the concept in this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.\">extensible</a>)</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-AppleHealthKitWorkoutSample-definitions.html#AppleHealthKitWorkoutSample.workoutActivities\" title=\"The sample's workout activities.\">workoutActivities</a><a name=\"AppleHealthKitWorkoutSample.workoutActivities\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-AppleHealthKitWorkoutActivity.html\">AppleHealthKitWorkoutActivity</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">The sample's workout activities.<br/></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-AppleHealthKitWorkoutSample-definitions.html#AppleHealthKitWorkoutSample.workoutEvents\" title=\"The sample's workout events, in agreement with workoutActivities.\">workoutEvents</a><a name=\"AppleHealthKitWorkoutSample.workoutEvents\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-AppleHealthKitWorkoutEvent.html\">AppleHealthKitWorkoutEvent</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">The sample's workout events.<br/></td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode" : "pe"
    }
  ],
  "url" : "http://hl7.org/fhir/uv/phr/StructureDefinition/AppleHealthKitWorkoutSample",
  "version" : "1.0.0-ballot",
  "name" : "AppleHealthKitWorkoutSample",
  "title" : "Apple HealthKit Workout Sample Logical Model",
  "status" : "draft",
  "experimental" : true,
  "date" : "2024-12-16T02:24:49+00:00",
  "publisher" : "HL7 International / Patient Empowerment",
  "contact" : [
    {
      "name" : "HL7 International / Patient Empowerment",
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/patientempowerment"
        }
      ]
    }
  ],
  "description" : "Data elements for the Apple HealthKit HKWorkout.",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001",
          "display" : "World"
        }
      ]
    }
  ],
  "fhirVersion" : "4.0.1",
  "kind" : "logical",
  "abstract" : false,
  "type" : "http://hl7.org/fhir/uv/phr/StructureDefinition/AppleHealthKitWorkoutSample",
  "baseDefinition" : "http://hl7.org/fhir/uv/phr/StructureDefinition/AppleHealthKitSample",
  "derivation" : "specialization",
  "snapshot" : {
    "element" : [
      {
        "id" : "AppleHealthKitWorkoutSample",
        "path" : "AppleHealthKitWorkoutSample",
        "short" : "Apple HealthKit Workout Sample Logical Model",
        "definition" : "Data elements for the Apple HealthKit HKWorkout.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Base",
          "min" : 0,
          "max" : "*"
        },
        "isModifier" : false
      },
      {
        "id" : "AppleHealthKitWorkoutSample.uuid",
        "path" : "AppleHealthKitWorkoutSample.uuid",
        "short" : "The universally unique identifier (UUID) for this HealthKit object.",
        "definition" : "The universally unique identifier (UUID) for this HealthKit object.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitObject.uuid",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.metadata",
        "path" : "AppleHealthKitWorkoutSample.metadata",
        "short" : "The metadata for this HealthKit object.",
        "definition" : "The metadata for this HealthKit object.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "AppleHealthKitObject.metadata",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.metadata.id",
        "path" : "AppleHealthKitWorkoutSample.metadata.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Unique id for inter-element referencing",
        "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "string"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.metadata.extension",
        "path" : "AppleHealthKitWorkoutSample.metadata.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.metadata.modifierExtension",
        "path" : "AppleHealthKitWorkoutSample.metadata.modifierExtension",
        "short" : "Extensions that cannot be ignored even if unrecognized",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : true,
        "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.metadata.key",
        "path" : "AppleHealthKitWorkoutSample.metadata.key",
        "short" : "Constants used to add metadata to objects stored in HealthKit.",
        "definition" : "Constants used to add metadata to objects stored in HealthKit.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitObject.metadata.key",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.metadata.value[x]",
        "path" : "AppleHealthKitWorkoutSample.metadata.value[x]",
        "short" : "The metadata dictionary value.",
        "definition" : "The metadata dictionary value.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitObject.metadata.value[x]",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "unsignedInt"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.device",
        "path" : "AppleHealthKitWorkoutSample.device",
        "short" : "The device that generated the data for this object.",
        "definition" : "The device that generated the data for this object.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitObject.device",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.device.id",
        "path" : "AppleHealthKitWorkoutSample.device.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Unique id for inter-element referencing",
        "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "string"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.device.extension",
        "path" : "AppleHealthKitWorkoutSample.device.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.device.modifierExtension",
        "path" : "AppleHealthKitWorkoutSample.device.modifierExtension",
        "short" : "Extensions that cannot be ignored even if unrecognized",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : true,
        "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.device.udiDeviceIdentifier",
        "path" : "AppleHealthKitWorkoutSample.device.udiDeviceIdentifier",
        "short" : "The device identifier portion of the US Food and Drug Administration’s Unique Device Identifier (UDI).",
        "definition" : "The device identifier portion of the US Food and Drug Administration’s Unique Device Identifier (UDI).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitObject.device.udiDeviceIdentifier",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.device.firmwareVersion",
        "path" : "AppleHealthKitWorkoutSample.device.firmwareVersion",
        "short" : "An arbitrary string representing the current version of the firmware running on the device.",
        "definition" : "An arbitrary string representing the current version of the firmware running on the device.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitObject.device.firmwareVersion",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.device.hardwareVersion",
        "path" : "AppleHealthKitWorkoutSample.device.hardwareVersion",
        "short" : "An arbitrary string representing the hardware version of the device.",
        "definition" : "An arbitrary string representing the hardware version of the device.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitObject.device.hardwareVersion",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.device.localIdentifier",
        "path" : "AppleHealthKitWorkoutSample.device.localIdentifier",
        "short" : "An identifier that uniquely identifies the device object on the hardware running this code.",
        "definition" : "An identifier that uniquely identifies the device object on the hardware running this code.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitObject.device.localIdentifier",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.device.manufacturer",
        "path" : "AppleHealthKitWorkoutSample.device.manufacturer",
        "short" : "A string representing the device’s manufacturer.",
        "definition" : "A string representing the device’s manufacturer.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitObject.device.manufacturer",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.device.model",
        "path" : "AppleHealthKitWorkoutSample.device.model",
        "short" : "A string representing the device’s model.",
        "definition" : "A string representing the device’s model.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitObject.device.model",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.device.name",
        "path" : "AppleHealthKitWorkoutSample.device.name",
        "short" : "The user-facing name for the device.",
        "definition" : "The user-facing name for the device.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitObject.device.name",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.device.softwareVersion",
        "path" : "AppleHealthKitWorkoutSample.device.softwareVersion",
        "short" : "An arbitrary string representing the version of the software running on the device.",
        "definition" : "An arbitrary string representing the version of the software running on the device.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitObject.device.softwareVersion",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.sourceRevision",
        "path" : "AppleHealthKitWorkoutSample.sourceRevision",
        "short" : "The app or device that created this object.",
        "definition" : "The app or device that created this object.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitObject.sourceRevision",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.sourceRevision.id",
        "path" : "AppleHealthKitWorkoutSample.sourceRevision.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Unique id for inter-element referencing",
        "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "string"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.sourceRevision.extension",
        "path" : "AppleHealthKitWorkoutSample.sourceRevision.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.sourceRevision.modifierExtension",
        "path" : "AppleHealthKitWorkoutSample.sourceRevision.modifierExtension",
        "short" : "Extensions that cannot be ignored even if unrecognized",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : true,
        "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.sourceRevision.source",
        "path" : "AppleHealthKitWorkoutSample.sourceRevision.source",
        "short" : "The source for a sample.",
        "definition" : "The source for a sample.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitObject.sourceRevision.source",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.sourceRevision.source.id",
        "path" : "AppleHealthKitWorkoutSample.sourceRevision.source.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Unique id for inter-element referencing",
        "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "string"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.sourceRevision.source.extension",
        "path" : "AppleHealthKitWorkoutSample.sourceRevision.source.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.sourceRevision.source.modifierExtension",
        "path" : "AppleHealthKitWorkoutSample.sourceRevision.source.modifierExtension",
        "short" : "Extensions that cannot be ignored even if unrecognized",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : true,
        "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.sourceRevision.source.bundleIdentifier",
        "path" : "AppleHealthKitWorkoutSample.sourceRevision.source.bundleIdentifier",
        "short" : "The source’s bundle identifier.",
        "definition" : "The source’s bundle identifier.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitObject.sourceRevision.source.bundleIdentifier",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.sourceRevision.source.name",
        "path" : "AppleHealthKitWorkoutSample.sourceRevision.source.name",
        "short" : "The source’s name.",
        "definition" : "The source’s name.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitObject.sourceRevision.source.name",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.sourceRevision.version",
        "path" : "AppleHealthKitWorkoutSample.sourceRevision.version",
        "short" : "A string that identifies a particular version of the source.",
        "definition" : "A string that identifies a particular version of the source.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitObject.sourceRevision.version",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.sourceRevision.operatingSystemVersion",
        "path" : "AppleHealthKitWorkoutSample.sourceRevision.operatingSystemVersion",
        "short" : "A string that identifies the operating system used to save a sample.",
        "definition" : "A string that identifies the operating system used to save a sample.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitObject.sourceRevision.operatingSystemVersion",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.sourceRevision.operatingSystemVersion.id",
        "path" : "AppleHealthKitWorkoutSample.sourceRevision.operatingSystemVersion.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Unique id for inter-element referencing",
        "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "string"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.sourceRevision.operatingSystemVersion.extension",
        "path" : "AppleHealthKitWorkoutSample.sourceRevision.operatingSystemVersion.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.sourceRevision.operatingSystemVersion.modifierExtension",
        "path" : "AppleHealthKitWorkoutSample.sourceRevision.operatingSystemVersion.modifierExtension",
        "short" : "Extensions that cannot be ignored even if unrecognized",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : true,
        "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.sourceRevision.operatingSystemVersion.majorVersion",
        "path" : "AppleHealthKitWorkoutSample.sourceRevision.operatingSystemVersion.majorVersion",
        "short" : "The major release number, such as 10 in version 10.9.3.",
        "definition" : "The major release number, such as 10 in version 10.9.3.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitObject.sourceRevision.operatingSystemVersion.majorVersion",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "integer"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.sourceRevision.operatingSystemVersion.minorVersion",
        "path" : "AppleHealthKitWorkoutSample.sourceRevision.operatingSystemVersion.minorVersion",
        "short" : "The minor release number, such as 9 in version 10.9.3.",
        "definition" : "The minor release number, such as 9 in version 10.9.3.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitObject.sourceRevision.operatingSystemVersion.minorVersion",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "integer"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.sourceRevision.operatingSystemVersion.patchVersion",
        "path" : "AppleHealthKitWorkoutSample.sourceRevision.operatingSystemVersion.patchVersion",
        "short" : "The update release number, such as 3 in version 10.9.3.",
        "definition" : "The update release number, such as 3 in version 10.9.3.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitObject.sourceRevision.operatingSystemVersion.patchVersion",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "integer"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.sourceRevision.productType",
        "path" : "AppleHealthKitWorkoutSample.sourceRevision.productType",
        "short" : "A string that identifies the device used to save a sample.",
        "definition" : "A string that identifies the device used to save a sample.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitObject.sourceRevision.productType",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.startDate",
        "path" : "AppleHealthKitWorkoutSample.startDate",
        "short" : "The sample's start date.",
        "definition" : "The sample's start date.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitSample.startDate",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.endDate",
        "path" : "AppleHealthKitWorkoutSample.endDate",
        "short" : "The sample's end date.",
        "definition" : "The sample's end date.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitSample.endDate",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "dateTime"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.hasUndeterminedDuration",
        "path" : "AppleHealthKitWorkoutSample.hasUndeterminedDuration",
        "short" : "Indicates whether the sample has an unknown duration.",
        "definition" : "Indicates whether the sample has an unknown duration.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitSample.hasUndeterminedDuration",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.sampleType",
        "path" : "AppleHealthKitWorkoutSample.sampleType",
        "short" : "The sample type.",
        "definition" : "The sample type.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitSample.sampleType",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "strength" : "extensible",
          "valueSet" : "http://hl7.org/fhir/uv/phr/ValueSet/apple-health-kit-sample-type-value-set"
        }
      },
      {
        "id" : "AppleHealthKitWorkoutSample.duration",
        "path" : "AppleHealthKitWorkoutSample.duration",
        "short" : "The workout duration in number of seconds.",
        "definition" : "The workout duration in number of seconds.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitWorkoutSample.duration",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "decimal"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.workoutActivityType",
        "path" : "AppleHealthKitWorkoutSample.workoutActivityType",
        "short" : "The sample's workout activity type.",
        "definition" : "When HKSample is an HKWorkoutActivity, the corresponding workoutActivityType.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AppleHealthKitWorkoutSample.workoutActivityType",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "strength" : "extensible",
          "valueSet" : "http://hl7.org/fhir/uv/phr/ValueSet/apple-health-kit-workout-activity-type-value-set"
        }
      },
      {
        "id" : "AppleHealthKitWorkoutSample.workoutActivities",
        "path" : "AppleHealthKitWorkoutSample.workoutActivities",
        "short" : "The sample's workout activities.",
        "definition" : "The sample's workout activities.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "AppleHealthKitWorkoutSample.workoutActivities",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "http://hl7.org/fhir/uv/phr/StructureDefinition/AppleHealthKitWorkoutActivity"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.workoutEvents",
        "path" : "AppleHealthKitWorkoutSample.workoutEvents",
        "short" : "The sample's workout events.",
        "definition" : "The sample's workout events, in agreement with workoutActivities.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "AppleHealthKitWorkoutSample.workoutEvents",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "http://hl7.org/fhir/uv/phr/StructureDefinition/AppleHealthKitWorkoutEvent"
          }
        ]
      }
    ]
  },
  "differential" : {
    "element" : [
      {
        "id" : "AppleHealthKitWorkoutSample",
        "path" : "AppleHealthKitWorkoutSample",
        "short" : "Apple HealthKit Workout Sample Logical Model",
        "definition" : "Data elements for the Apple HealthKit HKWorkout."
      },
      {
        "id" : "AppleHealthKitWorkoutSample.duration",
        "path" : "AppleHealthKitWorkoutSample.duration",
        "short" : "The workout duration in number of seconds.",
        "definition" : "The workout duration in number of seconds.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "decimal"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.workoutActivityType",
        "path" : "AppleHealthKitWorkoutSample.workoutActivityType",
        "short" : "The sample's workout activity type.",
        "definition" : "When HKSample is an HKWorkoutActivity, the corresponding workoutActivityType.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "code"
          }
        ],
        "binding" : {
          "strength" : "extensible",
          "valueSet" : "http://hl7.org/fhir/uv/phr/ValueSet/apple-health-kit-workout-activity-type-value-set"
        }
      },
      {
        "id" : "AppleHealthKitWorkoutSample.workoutActivities",
        "path" : "AppleHealthKitWorkoutSample.workoutActivities",
        "short" : "The sample's workout activities.",
        "definition" : "The sample's workout activities.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "http://hl7.org/fhir/uv/phr/StructureDefinition/AppleHealthKitWorkoutActivity"
          }
        ]
      },
      {
        "id" : "AppleHealthKitWorkoutSample.workoutEvents",
        "path" : "AppleHealthKitWorkoutSample.workoutEvents",
        "short" : "The sample's workout events.",
        "definition" : "The sample's workout events, in agreement with workoutActivities.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "http://hl7.org/fhir/uv/phr/StructureDefinition/AppleHealthKitWorkoutEvent"
          }
        ]
      }
    ]
  }
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.